<?php
    include_once 'conectar_bd.php';
    $base=  conectar_solo_lectura();
    
    $elemento = $_GET['elemento'];
    
    //$query = "SELECT * FROM estilo WHERE elemento='distribucion_propiedad'";
    $query = "SELECT * FROM estilo WHERE elemento='$elemento'";
    
    $rtdo = $base->query($query);
    
    if(!$rtdo){
        echo "consulta incorrecta";
    }
    $arr = $rtdo->fetchArray();

    echo $arr['valor'];
    
?>